// 登录响应结果
export interface LoginResult {
  tokenValue: string;
  tokenName: string;
  loginId: number | string;
  username: string;
  nickName: string;
  loginType: string;
  result: string;
  message: string;
}

// 用户信息响应结果
export interface UserInfoResult {
  result: string;
  message: string;
  data: {
    id: number;
    username: string;
    email: string;
    roles: string[];
    permissions: string[];
  };
}

// 通用响应结果
export interface ApiResponse<T = any> {
  result: string;
  message: string;
  data: T;
}
